<template>
  <el-container>
    <el-header>
      <home-header/>
    </el-header>
    <el-container>
      <home-aside class="aside"/>
      <el-main>
        <div class="main">
          <router-view></router-view>
        </div>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import homeHeader from "@/components/HomeHeader";
import homeAside  from '@/components/HomeAside';

export default {
  name: "ViewHome",
  components:{
    homeHeader,
    homeAside
  },
}
</script>

<style lang="less" scoped>
  .normal(){
    *{
      margin: 0;
      padding: 0;
    }
  }
  .el-container, .el-aside{
    .normal();
  }
  .aside, .main{
    width: 100%;
  }
  .aside{
    z-index: 1000;
  }
  .main{
    overflow-y: auto;
  }

</style>